#ifndef MAP_H
#define MAP_H
#include "Tile.h"
#include "../System.h"
namespace PickinOpenSticks {
    namespace Map {

        /**
         * @author Luke Fangel, Joseph Montanez
         * @class Map
         * a class that renders a map
         **/
        class Map {
        public:
            Map();
            ~Map();
            void Initialize(sf::Image& mgr);

            void Render(System& sys);
            void Allocate(unsigned int l, unsigned int w, unsigned int h);
            void Deallocate();
        private:
            unsigned int m_width, m_height, m_layers;
            GLuint m_displaylist;
            sf::Image m_tile;

            std::vector< std::vector< std::vector<Tile> > > m_tiles;
        };
    }
}
#endif // MAP_H
